package com.bdqn.service.Impl;

import com.bdqn.entity.Parameters;
import com.bdqn.entity.SaleInventory;
import com.bdqn.mapper.SaleInventoryMapper;
import com.bdqn.service.SaleInventoryMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SaleInventoryMapperServiceImpl implements SaleInventoryMapperService {
    @Autowired
    SaleInventoryMapper mapper;
    @Override
    public List<SaleInventory> getSaleInventory(Parameters parameters) {
        return mapper.getSaleInventory(parameters);
    }

    @Override
    public int getCount(Parameters parameters) {
        return mapper.getCount(parameters);
    }
}
